package com.ruoyi.sale.mapper;



import com.ruoyi.sale.domain.Sale;

import java.util.List;

public interface SaleMapper {
    Sale checkSaleNameUnique(Sale sale);

    int insertSale(Sale sale);

    List<Sale> selectSaleList(Sale sale);

    int deleteSaleById(Long saleId);

    int updateSale(Sale sale);

    Sale selectSaleById(Long saleId);

    List<Sale> selectSaleList1();
}
